@page "/Summarize"
@using SemanticKernelBlazorDemo.Shared.Services
@inject ISummarizerService _summarizerService

<h3>Summarize</h3>

<div style="height: 12px;"></div>

<Textarea rows="10" style="width: 100%" @bind-Value="_ask"></Textarea>
<div style="height: 12px;"></div>

<Button Text="Summarize"
        OnClick="SummarizeAsync">
</Button>
<div style="height: 12px;"></div>

<Textarea rows="10" style="width: 100%" @bind-Value="_result"></Textarea>